;; supercollider/output-proxy.scm - (c) rohan drape, 2003-2005

;; A list of <output-proxy> records is used to represent a UGen with
;; multiple outputs.  An Output Proxy is a duple (UGen|<ugen>
;; Port|<integer>).

(define-structure output-proxy (ugen port))

(define (output-proxy->input o)
  (make-input (ugen-index (output-proxy-ugen o)) 
	      (output-proxy-port o)))
